package com.jr.entry;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.stereotype.Component;

@Data
@Component
@ToString
@AllArgsConstructor
@NoArgsConstructor
/*创建博文详细信息实体类
* 并使用注解创建全参无参构造、get、set方法以及重写tostring方法*/
public class BlogText {
        /*博客id*/
        private Integer blogid;
        /*标题*/
        private String title;
        /*文章内容*/
        private String detail;
        /*文章类型*/
        private Integer tid;
        /*作者*/
        private String author;
        /*点击次数*/
        private Integer clicknumber;
        /*发布时间*/
        private String posttime;
        /*置顶状态*/
        private Integer status;
        /*用户表id*/
        private  Integer uid;
}
